#pragma once
#include <d3d9.h>
#include <d3dx9.h>

class Material;
struct RenderOperation
{
	//geometry
	IDirect3DVertexBuffer9 *vb;
	IDirect3DIndexBuffer9 *ib;
	IDirect3DVertexDeclaration9 *vdecl;

	UINT vertexStride;
	UINT vertexCount;
	UINT primCount;
	Material *mtrl;

	D3DXMATRIX model;
	D3DXMATRIX view;
	D3DXMATRIX proj;

	bool castShadow;
	//something else
};